//
//  Question.h
//  caitu
//
//  Created by 楼楚 on 15/10/22.
//  Copyright © 2015年 Chu Lou. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Question : NSObject
@property (nonatomic,copy) NSString *answer;
@property (nonatomic,copy) NSString *icon;
@property (nonatomic,copy) NSString *title;
@property (nonatomic,strong)NSArray *options;

- (instancetype)initWithDict:(NSDictionary *)dict;
+ (instancetype)questionWithDict:(NSDictionary *)dict;
// 返回所有题目数组
+ (NSArray *)questions;
//打乱备选文字的数组
- (void) randomOptions;

@end
